package com.easy.service;

import com.easy.bean.Product;
import com.easy.util.Page;

import java.util.List;

public interface ProductService {
    Product add(Product product);
    int del(Integer id);
    Product edit(Product product);
    List<Product> all(String name, String category);
    Product one(Integer id);
    void page(Page page, Product product);
}
